Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

anchor
Link copied to clipboard
open fun anchor(anchor: ScreenCoordinate): CameraOptions.Builder
Point of reference for `zoom` and `angle`, assuming an origin at the top-left corner of the view.
bearing
Link copied to clipboard
open fun bearing(bearing: Double): CameraOptions.Builder
Bearing, measured in degrees from true north.
build
Link copied to clipboard
open fun build(): CameraOptions
center
Link copied to clipboard
open fun center(center: Point): CameraOptions.Builder
Coordinate at the center of the camera.
padding
Link copied to clipboard
open fun padding(padding: EdgeInsets): CameraOptions.Builder
Padding around the interior of the view that affects the frame of reference for `center`.
pitch
Link copied to clipboard
open fun pitch(pitch: Double): CameraOptions.Builder
Pitch toward the horizon measured in degrees.
zoom
Link copied to clipboard
open fun zoom(zoom: Double): CameraOptions.Builder
Zero-based zoom level.